﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Nxg.Blog.Core.Commands
{
    public interface ICommandInvoker<in TIn, out TOut>
    {
        TOut Execute(TIn command);
    }

    public interface ICommandInvokerFactory
    {
        TOut Handle<TIn, TOut>(TIn input);
    }
}
